package com.aliyun.messagemgt.common.dto.foura;
/**
 * @author
 * @date
 */
public class OrgInfo {
    /**
     * 组织ID
     */
    private String orgId;
    /**
     * 父组织ID
     */
    private String parentId;
    /**
     * 父组织代码
     */
    private String parentCode;
    /**
     * 组织层级
     */
    private Integer layer;
    /**
     * 自建组织ID
     */
    private String selfOrgCode;
    /**
     * 组织代码
     */
    private String orgCode;
    /**
     * 组织名字
     */
    private String orgName;
    /**
     * 组织类型
     */
    private String orgType;
    /**
     * 组织状态
     */
    private String orgStatus;

    public String getOrgId() {
        return orgId;
    }

    public OrgInfo setOrgId(String orgId) {
        this.orgId = orgId;
        return this;
    }

    public String getParentId() {
        return parentId;
    }

    public OrgInfo setParentId(String parentId) {
        this.parentId = parentId;
        return this;
    }

    public String getParentCode() {
        return parentCode;
    }

    public OrgInfo setParentCode(String parentCode) {
        this.parentCode = parentCode;
        return this;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public OrgInfo setOrgCode(String orgCode) {
        this.orgCode = orgCode;
        return this;
    }

    public String getOrgName() {
        return orgName;
    }

    public OrgInfo setOrgName(String orgName) {
        this.orgName = orgName;
        return this;
    }

    public String getOrgType() {
        return orgType;
    }

    public OrgInfo setOrgType(String orgType) {
        this.orgType = orgType;
        return this;
    }

    public String getOrgStatus() {
        return orgStatus;
    }

    public OrgInfo setOrgStatus(String orgStatus) {
        this.orgStatus = orgStatus;
        return this;
    }

    public Integer getLayer() {
        return layer;
    }

    public OrgInfo setLayer(Integer layer) {
        this.layer = layer;
        return this;
    }

    public String getSelfOrgCode() {
        return selfOrgCode;
    }

    public OrgInfo setSelfOrgCode(String selfOrgCode) {
        this.selfOrgCode = selfOrgCode;
        return this;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("OrgInfo{");
        sb.append("orgId='").append(orgId).append('\'');
        sb.append(", parentId='").append(parentId).append('\'');
        sb.append(", parentCode='").append(parentCode).append('\'');
        sb.append(", layer=").append(layer);
        sb.append(", selfOrgCode='").append(selfOrgCode).append('\'');
        sb.append(", orgCode='").append(orgCode).append('\'');
        sb.append(", orgName='").append(orgName).append('\'');
        sb.append(", orgType='").append(orgType).append('\'');
        sb.append(", orgStatus='").append(orgStatus).append('\'');
        sb.append('}');
        return sb.toString();
    }

}